#ifndef BNET_H
#define BNET_H

#include <QString>
#include <QStringList>

#define BATTLENET_USEAST		"useast.battle.net"
#define BATTLENET_USWEST		"uswest.battle.net"
#define BATTLENET_EUROPE		"europe.battle.net"
#define BATTLENET_ASIA			"asia.battle.net"

#define BATTLENET_USEAST_ALIAS	"USEast"
#define BATTLENET_USWEST_ALIAS	"USWest"
#define BATTLENET_EUROPE_ALIAS	"Europe"
#define BATTLENET_ASIA_ALIAS	"Asia"

class CBNet
{
private:
	bool m_HoldClan;
	bool m_HoldFriends;
	bool m_PublicCommands;

	char m_CommandTrigger;

	int m_CounterID;

	QString m_Country;
	QString m_CountryAbbrev;
	QString m_Language;
	QString m_Password;
	QString m_RoCCDKey;
	QString m_Server;
	QString m_ServerAlias;
	QString m_TFTCDKey;
	QString m_Username;
	QStringList m_RootAdmins;

public:
	CBNet(int nCounterID, const QString &nServer, const QString &nServerAlias, const QString &nRoCCDKey, const QString &nTFTCDKey, const QString &nCountry, const QString &nLanguage, const QString &nCountryAbbrev, const QString &nUsername, const QString &nPassword, const QStringList &nRootAdmins, char nCommandTrigger, bool nHoldFriends, bool nHoldClan, bool nPublicCommands);
	~CBNet();

	int GetCounterID() const															{ return m_CounterID; }
	QString GetServer() const															{ return m_Server; }
	QString GetServerAlias() const														{ return m_ServerAlias; }
};

#endif // BNET_H
